<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>页面没找到</title>
    <link rel="icon" href="../static/img/logoIco.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="../static/css/base.css">
    <link rel="stylesheet" href="../static/css/header.css">
    <link rel="stylesheet" href="../static/css/footer.css">
    <script src="../static/js/jquery-1.12.4.js"></script>

    <style>
        .content{
            width: 100%;
            height:600px;
        }
        .error_notice{
            width: 100%;
            height: 100%;
            margin: 0 auto;
            margin-top: 150px;
        }
        .error_notice .error_img{
            width: 100%;
            height: 300px;
            background: url("../static/img/404pic.png") no-repeat center center;
            background-size: auto 250px;
        }
        .error_notice .error_title{
            font-size: 24px;
            text-align: center;
            line-height: 26px;
            color: #333333;
        }
    </style>

</head>
<body>
<script>
    $(function () {

        // 注册提示
        var $timer;

        // 接收后端的数据
        var result = {{ result | safe }};
        userstatu = result.userstatu;

        //登陆成功
        if(userstatu == 1){
            username = result.username;

            console.log('username:'+username);
            $('.nav_user').css('display','inline-block');
            $('.nav_right').css('display','none');
            $('.user_welcome').text(username);
        }


        $('.colse').click(function () {
            // $('.nav_user').css('display','none');
            // $('.nav_right').css('display','flex');
            window.location.href="http://127.0.0.1:8000/";
        })

    })
</script>

<!--网页头部-->
<div class="header">
    <div class="header_left">
        <a href="../index"><div class="logo"></div></a>
        <div class="header_title">一带一路 电商影响因素识别系统</div>
    </div>
    <div class="header_right">
        <ul class="nav_left">
            <a href="../textMining"><li>文本挖掘</li></a>
            <a href="../dataAnalysis"><li>大数据分析</li></a>
            <a href="../tech"><li>技术实现</li></a>
            <a href="../projectDesc"><li>项目介绍</li></a>
            <a href="../selfCenter"><li>个人简介</li></a>
        </ul>

        <!--登录注册-->
        <ul class="nav_right">
            <a href="/"><li class="login">登录</li></a>
            <a href="../register"><li class="register">注册</li></a>
        </ul>

        <!--用户登录成功-->
        <form method="post">
            {% csrf_token %}

            <ul class="nav_user">
                <li class="user_img">
                    <ul class="sub">

                        <!--<li><a href="">设置</a></li>-->
                        <li class="colse" name="close" value="1">退出</li>

                    </ul>
                </li>
                <li class="user_welcome"></li>
            </ul>
        </form>
    </div>
</div>
<div class="content">
    <div class="error_notice">
        <div class="error_img"></div>
        <div class="error_title">404！抱歉，您查看的页面不存在～～</div>
    </div>
</div>

    <!--网页底部-->
<div class="footer">
        <div class="top">

            <span class="QRcode"><img src="../static/img/QRcode.jpg"/> </span>
            <a href="#"><div class="goback">回到顶部</div></a>

        </div>
        <div class="down">
            <div class="selfInfo">
                <a href="../selfCenter">个人简介</a>
                |
                <a href="../projectDesc">项目介绍</a>
            </div>
            <div class="copyright">
                copyright@2017-2020 陈薇
            </div>
        </div>
    </div>
</body>
</html>